<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="layui/css/layui.css">
<script src="layui/layui.js"></script>
</head>
<body>
<ul class="layui-nav" lay-filter="">
	<li class="layui-nav-item"><a href="">首页</a></li>
	<li class="layui-nav-item"><a href="">空间</a></li>
	<li class="layui-nav-item"><a href="">音乐</a></li>
	<li class="layui-nav-item"><a href="">电影</a></li>
	<li class="layui-nav-item"><a href="">摄影</a></li>
</ul>

</body>
<script>
//注意：导航 依赖 element 模块，否则无法进行功能性操作
layui.use('element', function(){
  var element = layui.element();
  
  //…
});
</script>
</html>